↳ Prolog
↳ PrologToPiTRSProof
search_tree_in(T) → U1(T, search_tree_in(T, X, X1))
search_tree_in(tree(X, Left, Right), Min1, Max2) → U6(X, Left, Right, Min1, Max2, search_tree_in(Left, Min1, Max1))
search_tree_in(tree(X, Left, void), Min, X) → U4(X, Left, Min, search_tree_in(Left, Min, Max))
search_tree_in(tree(X, void, Right), X, Max) → U2(X, Right, Max, search_tree_in(Right, Min, Max))
search_tree_in(tree(X, void, void), X, X) → search_tree_out(tree(X, void, void), X, X)
U2(X, Right, Max, search_tree_out(Right, Min, Max)) → U3(X, Right, Max, less_in(X, Min))
less_in(s(X), s(Y)) → U10(X, Y, less_in(X, Y))
less_in(0, s(X)) → less_out(0, s(X))
U10(X, Y, less_out(X, Y)) → less_out(s(X), s(Y))
U3(X, Right, Max, less_out(X, Min)) → search_tree_out(tree(X, void, Right), X, Max)
U4(X, Left, Min, search_tree_out(Left, Min, Max)) → U5(X, Left, Min, less_in(Max, X))
U5(X, Left, Min, less_out(Max, X)) → search_tree_out(tree(X, Left, void), Min, X)
U6(X, Left, Right, Min1, Max2, search_tree_out(Left, Min1, Max1)) → U7(X, Left, Right, Min1, Max2, Max1, less_in(Max1, X))
U7(X, Left, Right, Min1, Max2, Max1, less_out(Max1, X)) → U8(X, Left, Right, Min1, Max2, search_tree_in(Right, Min2, Max2))
U8(X, Left, Right, Min1, Max2, search_tree_out(Right, Min2, Max2)) → U9(X, Left, Right, Min1, Max2, less_in(X, Min2))
U9(X, Left, Right, Min1, Max2, less_out(X, Min2)) → search_tree_out(tree(X, Left, Right), Min1, Max2)
U1(T, search_tree_out(T, X, X1)) → search_tree_out(T)
search_tree_in(void) → search_tree_out(void)
Infinitary Constructor Rewriting Termination of PiTRS implies Termination of Prolog
↳ Prolog
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
search_tree_in(T) → U1(T, search_tree_in(T, X, X1))
search_tree_in(tree(X, Left, Right), Min1, Max2) → U6(X, Left, Right, Min1, Max2, search_tree_in(Left, Min1, Max1))
search_tree_in(tree(X, Left, void), Min, X) → U4(X, Left, Min, search_tree_in(Left, Min, Max))
search_tree_in(tree(X, void, Right), X, Max) → U2(X, Right, Max, search_tree_in(Right, Min, Max))
search_tree_in(tree(X, void, void), X, X) → search_tree_out(tree(X, void, void), X, X)
U2(X, Right, Max, search_tree_out(Right, Min, Max)) → U3(X, Right, Max, less_in(X, Min))
less_in(s(X), s(Y)) → U10(X, Y, less_in(X, Y))
less_in(0, s(X)) → less_out(0, s(X))
U10(X, Y, less_out(X, Y)) → less_out(s(X), s(Y))
U3(X, Right, Max, less_out(X, Min)) → search_tree_out(tree(X, void, Right), X, Max)
U4(X, Left, Min, search_tree_out(Left, Min, Max)) → U5(X, Left, Min, less_in(Max, X))
U5(X, Left, Min, less_out(Max, X)) → search_tree_out(tree(X, Left, void), Min, X)
U6(X, Left, Right, Min1, Max2, search_tree_out(Left, Min1, Max1)) → U7(X, Left, Right, Min1, Max2, Max1, less_in(Max1, X))
U7(X, Left, Right, Min1, Max2, Max1, less_out(Max1, X)) → U8(X, Left, Right, Min1, Max2, search_tree_in(Right, Min2, Max2))
U8(X, Left, Right, Min1, Max2, search_tree_out(Right, Min2, Max2)) → U9(X, Left, Right, Min1, Max2, less_in(X, Min2))
U9(X, Left, Right, Min1, Max2, less_out(X, Min2)) → search_tree_out(tree(X, Left, Right), Min1, Max2)
U1(T, search_tree_out(T, X, X1)) → search_tree_out(T)
search_tree_in(void) → search_tree_out(void)
SEARCH_TREE_IN(T) → U11(T, search_tree_in(T, X, X1))
SEARCH_TREE_IN(T) → SEARCH_TREE_IN(T, X, X1)
SEARCH_TREE_IN(tree(X, Left, Right), Min1, Max2) → U61(X, Left, Right, Min1, Max2, search_tree_in(Left, Min1, Max1))
SEARCH_TREE_IN(tree(X, Left, Right), Min1, Max2) → SEARCH_TREE_IN(Left, Min1, Max1)
SEARCH_TREE_IN(tree(X, Left, void), Min, X) → U41(X, Left, Min, search_tree_in(Left, Min, Max))
SEARCH_TREE_IN(tree(X, Left, void), Min, X) → SEARCH_TREE_IN(Left, Min, Max)
SEARCH_TREE_IN(tree(X, void, Right), X, Max) → U21(X, Right, Max, search_tree_in(Right, Min, Max))
SEARCH_TREE_IN(tree(X, void, Right), X, Max) → SEARCH_TREE_IN(Right, Min, Max)
U21(X, Right, Max, search_tree_out(Right, Min, Max)) → U31(X, Right, Max, less_in(X, Min))
U21(X, Right, Max, search_tree_out(Right, Min, Max)) → LESS_IN(X, Min)
LESS_IN(s(X), s(Y)) → U101(X, Y, less_in(X, Y))
LESS_IN(s(X), s(Y)) → LESS_IN(X, Y)
U41(X, Left, Min, search_tree_out(Left, Min, Max)) → U51(X, Left, Min, less_in(Max, X))
U41(X, Left, Min, search_tree_out(Left, Min, Max)) → LESS_IN(Max, X)
U61(X, Left, Right, Min1, Max2, search_tree_out(Left, Min1, Max1)) → U71(X, Left, Right, Min1, Max2, Max1, less_in(Max1, X))
U61(X, Left, Right, Min1, Max2, search_tree_out(Left, Min1, Max1)) → LESS_IN(Max1, X)
U71(X, Left, Right, Min1, Max2, Max1, less_out(Max1, X)) → U81(X, Left, Right, Min1, Max2, search_tree_in(Right, Min2, Max2))
U71(X, Left, Right, Min1, Max2, Max1, less_out(Max1, X)) → SEARCH_TREE_IN(Right, Min2, Max2)
U81(X, Left, Right, Min1, Max2, search_tree_out(Right, Min2, Max2)) → U91(X, Left, Right, Min1, Max2, less_in(X, Min2))
U81(X, Left, Right, Min1, Max2, search_tree_out(Right, Min2, Max2)) → LESS_IN(X, Min2)
search_tree_in(T) → U1(T, search_tree_in(T, X, X1))
search_tree_in(tree(X, Left, Right), Min1, Max2) → U6(X, Left, Right, Min1, Max2, search_tree_in(Left, Min1, Max1))
search_tree_in(tree(X, Left, void), Min, X) → U4(X, Left, Min, search_tree_in(Left, Min, Max))
search_tree_in(tree(X, void, Right), X, Max) → U2(X, Right, Max, search_tree_in(Right, Min, Max))
search_tree_in(tree(X, void, void), X, X) → search_tree_out(tree(X, void, void), X, X)
U2(X, Right, Max, search_tree_out(Right, Min, Max)) → U3(X, Right, Max, less_in(X, Min))
less_in(s(X), s(Y)) → U10(X, Y, less_in(X, Y))
less_in(0, s(X)) → less_out(0, s(X))
U10(X, Y, less_out(X, Y)) → less_out(s(X), s(Y))
U3(X, Right, Max, less_out(X, Min)) → search_tree_out(tree(X, void, Right), X, Max)
U4(X, Left, Min, search_tree_out(Left, Min, Max)) → U5(X, Left, Min, less_in(Max, X))
U5(X, Left, Min, less_out(Max, X)) → search_tree_out(tree(X, Left, void), Min, X)
U6(X, Left, Right, Min1, Max2, search_tree_out(Left, Min1, Max1)) → U7(X, Left, Right, Min1, Max2, Max1, less_in(Max1, X))
U7(X, Left, Right, Min1, Max2, Max1, less_out(Max1, X)) → U8(X, Left, Right, Min1, Max2, search_tree_in(Right, Min2, Max2))
U8(X, Left, Right, Min1, Max2, search_tree_out(Right, Min2, Max2)) → U9(X, Left, Right, Min1, Max2, less_in(X, Min2))
U9(X, Left, Right, Min1, Max2, less_out(X, Min2)) → search_tree_out(tree(X, Left, Right), Min1, Max2)
U1(T, search_tree_out(T, X, X1)) → search_tree_out(T)
search_tree_in(void) → search_tree_out(void)
↳ Prolog
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
SEARCH_TREE_IN(T) → U11(T, search_tree_in(T, X, X1))
SEARCH_TREE_IN(T) → SEARCH_TREE_IN(T, X, X1)
SEARCH_TREE_IN(tree(X, Left, Right), Min1, Max2) → U61(X, Left, Right, Min1, Max2, search_tree_in(Left, Min1, Max1))
SEARCH_TREE_IN(tree(X, Left, Right), Min1, Max2) → SEARCH_TREE_IN(Left, Min1, Max1)
SEARCH_TREE_IN(tree(X, Left, void), Min, X) → U41(X, Left, Min, search_tree_in(Left, Min, Max))
SEARCH_TREE_IN(tree(X, Left, void), Min, X) → SEARCH_TREE_IN(Left, Min, Max)
SEARCH_TREE_IN(tree(X, void, Right), X, Max) → U21(X, Right, Max, search_tree_in(Right, Min, Max))
SEARCH_TREE_IN(tree(X, void, Right), X, Max) → SEARCH_TREE_IN(Right, Min, Max)
U21(X, Right, Max, search_tree_out(Right, Min, Max)) → U31(X, Right, Max, less_in(X, Min))
U21(X, Right, Max, search_tree_out(Right, Min, Max)) → LESS_IN(X, Min)
LESS_IN(s(X), s(Y)) → U101(X, Y, less_in(X, Y))
LESS_IN(s(X), s(Y)) → LESS_IN(X, Y)
U41(X, Left, Min, search_tree_out(Left, Min, Max)) → U51(X, Left, Min, less_in(Max, X))
U41(X, Left, Min, search_tree_out(Left, Min, Max)) → LESS_IN(Max, X)
U61(X, Left, Right, Min1, Max2, search_tree_out(Left, Min1, Max1)) → U71(X, Left, Right, Min1, Max2, Max1, less_in(Max1, X))
U61(X, Left, Right, Min1, Max2, search_tree_out(Left, Min1, Max1)) → LESS_IN(Max1, X)
U71(X, Left, Right, Min1, Max2, Max1, less_out(Max1, X)) → U81(X, Left, Right, Min1, Max2, search_tree_in(Right, Min2, Max2))
U71(X, Left, Right, Min1, Max2, Max1, less_out(Max1, X)) → SEARCH_TREE_IN(Right, Min2, Max2)
U81(X, Left, Right, Min1, Max2, search_tree_out(Right, Min2, Max2)) → U91(X, Left, Right, Min1, Max2, less_in(X, Min2))
U81(X, Left, Right, Min1, Max2, search_tree_out(Right, Min2, Max2)) → LESS_IN(X, Min2)
search_tree_in(T) → U1(T, search_tree_in(T, X, X1))
search_tree_in(tree(X, Left, Right), Min1, Max2) → U6(X, Left, Right, Min1, Max2, search_tree_in(Left, Min1, Max1))
search_tree_in(tree(X, Left, void), Min, X) → U4(X, Left, Min, search_tree_in(Left, Min, Max))
search_tree_in(tree(X, void, Right), X, Max) → U2(X, Right, Max, search_tree_in(Right, Min, Max))
search_tree_in(tree(X, void, void), X, X) → search_tree_out(tree(X, void, void), X, X)
U2(X, Right, Max, search_tree_out(Right, Min, Max)) → U3(X, Right, Max, less_in(X, Min))
less_in(s(X), s(Y)) → U10(X, Y, less_in(X, Y))
less_in(0, s(X)) → less_out(0, s(X))
U10(X, Y, less_out(X, Y)) → less_out(s(X), s(Y))
U3(X, Right, Max, less_out(X, Min)) → search_tree_out(tree(X, void, Right), X, Max)
U4(X, Left, Min, search_tree_out(Left, Min, Max)) → U5(X, Left, Min, less_in(Max, X))
U5(X, Left, Min, less_out(Max, X)) → search_tree_out(tree(X, Left, void), Min, X)
U6(X, Left, Right, Min1, Max2, search_tree_out(Left, Min1, Max1)) → U7(X, Left, Right, Min1, Max2, Max1, less_in(Max1, X))
U7(X, Left, Right, Min1, Max2, Max1, less_out(Max1, X)) → U8(X, Left, Right, Min1, Max2, search_tree_in(Right, Min2, Max2))
U8(X, Left, Right, Min1, Max2, search_tree_out(Right, Min2, Max2)) → U9(X, Left, Right, Min1, Max2, less_in(X, Min2))
U9(X, Left, Right, Min1, Max2, less_out(X, Min2)) → search_tree_out(tree(X, Left, Right), Min1, Max2)
U1(T, search_tree_out(T, X, X1)) → search_tree_out(T)
search_tree_in(void) → search_tree_out(void)
↳ Prolog
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ AND
↳ PiDP
↳ UsableRulesProof
↳ PiDP
LESS_IN(s(X), s(Y)) → LESS_IN(X, Y)
search_tree_in(T) → U1(T, search_tree_in(T, X, X1))
search_tree_in(tree(X, Left, Right), Min1, Max2) → U6(X, Left, Right, Min1, Max2, search_tree_in(Left, Min1, Max1))
search_tree_in(tree(X, Left, void), Min, X) → U4(X, Left, Min, search_tree_in(Left, Min, Max))
search_tree_in(tree(X, void, Right), X, Max) → U2(X, Right, Max, search_tree_in(Right, Min, Max))
search_tree_in(tree(X, void, void), X, X) → search_tree_out(tree(X, void, void), X, X)
U2(X, Right, Max, search_tree_out(Right, Min, Max)) → U3(X, Right, Max, less_in(X, Min))
less_in(s(X), s(Y)) → U10(X, Y, less_in(X, Y))
less_in(0, s(X)) → less_out(0, s(X))
U10(X, Y, less_out(X, Y)) → less_out(s(X), s(Y))
U3(X, Right, Max, less_out(X, Min)) → search_tree_out(tree(X, void, Right), X, Max)
U4(X, Left, Min, search_tree_out(Left, Min, Max)) → U5(X, Left, Min, less_in(Max, X))
U5(X, Left, Min, less_out(Max, X)) → search_tree_out(tree(X, Left, void), Min, X)
U6(X, Left, Right, Min1, Max2, search_tree_out(Left, Min1, Max1)) → U7(X, Left, Right, Min1, Max2, Max1, less_in(Max1, X))
U7(X, Left, Right, Min1, Max2, Max1, less_out(Max1, X)) → U8(X, Left, Right, Min1, Max2, search_tree_in(Right, Min2, Max2))
U8(X, Left, Right, Min1, Max2, search_tree_out(Right, Min2, Max2)) → U9(X, Left, Right, Min1, Max2, less_in(X, Min2))
U9(X, Left, Right, Min1, Max2, less_out(X, Min2)) → search_tree_out(tree(X, Left, Right), Min1, Max2)
U1(T, search_tree_out(T, X, X1)) → search_tree_out(T)
search_tree_in(void) → search_tree_out(void)
↳ Prolog
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ AND
↳ PiDP
↳ UsableRulesProof
↳ PiDP
↳ PiDPToQDPProof
↳ PiDP
LESS_IN(s(X), s(Y)) → LESS_IN(X, Y)
↳ Prolog
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ AND
↳ PiDP
↳ UsableRulesProof
↳ PiDP
↳ PiDPToQDPProof
↳ QDP
↳ QDPSizeChangeProof
↳ PiDP
LESS_IN(s(X), s(Y)) → LESS_IN(X, Y)
From the DPs we obtained the following set of size-change graphs:
↳ Prolog
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ AND
↳ PiDP
↳ PiDP
↳ UsableRulesProof
SEARCH_TREE_IN(tree(X, Left, Right), Min1, Max2) → U61(X, Left, Right, Min1, Max2, search_tree_in(Left, Min1, Max1))
U61(X, Left, Right, Min1, Max2, search_tree_out(Left, Min1, Max1)) → U71(X, Left, Right, Min1, Max2, Max1, less_in(Max1, X))
SEARCH_TREE_IN(tree(X, void, Right), X, Max) → SEARCH_TREE_IN(Right, Min, Max)
SEARCH_TREE_IN(tree(X, Left, void), Min, X) → SEARCH_TREE_IN(Left, Min, Max)
U71(X, Left, Right, Min1, Max2, Max1, less_out(Max1, X)) → SEARCH_TREE_IN(Right, Min2, Max2)
SEARCH_TREE_IN(tree(X, Left, Right), Min1, Max2) → SEARCH_TREE_IN(Left, Min1, Max1)
search_tree_in(T) → U1(T, search_tree_in(T, X, X1))
search_tree_in(tree(X, Left, Right), Min1, Max2) → U6(X, Left, Right, Min1, Max2, search_tree_in(Left, Min1, Max1))
search_tree_in(tree(X, Left, void), Min, X) → U4(X, Left, Min, search_tree_in(Left, Min, Max))
search_tree_in(tree(X, void, Right), X, Max) → U2(X, Right, Max, search_tree_in(Right, Min, Max))
search_tree_in(tree(X, void, void), X, X) → search_tree_out(tree(X, void, void), X, X)
U2(X, Right, Max, search_tree_out(Right, Min, Max)) → U3(X, Right, Max, less_in(X, Min))
less_in(s(X), s(Y)) → U10(X, Y, less_in(X, Y))
less_in(0, s(X)) → less_out(0, s(X))
U10(X, Y, less_out(X, Y)) → less_out(s(X), s(Y))
U3(X, Right, Max, less_out(X, Min)) → search_tree_out(tree(X, void, Right), X, Max)
U4(X, Left, Min, search_tree_out(Left, Min, Max)) → U5(X, Left, Min, less_in(Max, X))
U5(X, Left, Min, less_out(Max, X)) → search_tree_out(tree(X, Left, void), Min, X)
U6(X, Left, Right, Min1, Max2, search_tree_out(Left, Min1, Max1)) → U7(X, Left, Right, Min1, Max2, Max1, less_in(Max1, X))
U7(X, Left, Right, Min1, Max2, Max1, less_out(Max1, X)) → U8(X, Left, Right, Min1, Max2, search_tree_in(Right, Min2, Max2))
U8(X, Left, Right, Min1, Max2, search_tree_out(Right, Min2, Max2)) → U9(X, Left, Right, Min1, Max2, less_in(X, Min2))
U9(X, Left, Right, Min1, Max2, less_out(X, Min2)) → search_tree_out(tree(X, Left, Right), Min1, Max2)
U1(T, search_tree_out(T, X, X1)) → search_tree_out(T)
search_tree_in(void) → search_tree_out(void)
↳ Prolog
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ AND
↳ PiDP
↳ PiDP
↳ UsableRulesProof
↳ PiDP
↳ PiDPToQDPProof
SEARCH_TREE_IN(tree(X, Left, Right), Min1, Max2) → U61(X, Left, Right, Min1, Max2, search_tree_in(Left, Min1, Max1))
U61(X, Left, Right, Min1, Max2, search_tree_out(Left, Min1, Max1)) → U71(X, Left, Right, Min1, Max2, Max1, less_in(Max1, X))
SEARCH_TREE_IN(tree(X, void, Right), X, Max) → SEARCH_TREE_IN(Right, Min, Max)
SEARCH_TREE_IN(tree(X, Left, void), Min, X) → SEARCH_TREE_IN(Left, Min, Max)
U71(X, Left, Right, Min1, Max2, Max1, less_out(Max1, X)) → SEARCH_TREE_IN(Right, Min2, Max2)
SEARCH_TREE_IN(tree(X, Left, Right), Min1, Max2) → SEARCH_TREE_IN(Left, Min1, Max1)
search_tree_in(tree(X, Left, Right), Min1, Max2) → U6(X, Left, Right, Min1, Max2, search_tree_in(Left, Min1, Max1))
search_tree_in(tree(X, Left, void), Min, X) → U4(X, Left, Min, search_tree_in(Left, Min, Max))
search_tree_in(tree(X, void, Right), X, Max) → U2(X, Right, Max, search_tree_in(Right, Min, Max))
search_tree_in(tree(X, void, void), X, X) → search_tree_out(tree(X, void, void), X, X)
less_in(s(X), s(Y)) → U10(X, Y, less_in(X, Y))
less_in(0, s(X)) → less_out(0, s(X))
U6(X, Left, Right, Min1, Max2, search_tree_out(Left, Min1, Max1)) → U7(X, Left, Right, Min1, Max2, Max1, less_in(Max1, X))
U4(X, Left, Min, search_tree_out(Left, Min, Max)) → U5(X, Left, Min, less_in(Max, X))
U2(X, Right, Max, search_tree_out(Right, Min, Max)) → U3(X, Right, Max, less_in(X, Min))
U10(X, Y, less_out(X, Y)) → less_out(s(X), s(Y))
U7(X, Left, Right, Min1, Max2, Max1, less_out(Max1, X)) → U8(X, Left, Right, Min1, Max2, search_tree_in(Right, Min2, Max2))
U5(X, Left, Min, less_out(Max, X)) → search_tree_out(tree(X, Left, void), Min, X)
U3(X, Right, Max, less_out(X, Min)) → search_tree_out(tree(X, void, Right), X, Max)
U8(X, Left, Right, Min1, Max2, search_tree_out(Right, Min2, Max2)) → U9(X, Left, Right, Min1, Max2, less_in(X, Min2))
U9(X, Left, Right, Min1, Max2, less_out(X, Min2)) → search_tree_out(tree(X, Left, Right), Min1, Max2)
↳ Prolog
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ AND
↳ PiDP
↳ PiDP
↳ UsableRulesProof
↳ PiDP
↳ PiDPToQDPProof
↳ QDP
↳ QDPSizeChangeProof
U71(X, Right, Min1, less_out) → SEARCH_TREE_IN(Right)
SEARCH_TREE_IN(tree(X, Left, void)) → SEARCH_TREE_IN(Left)
SEARCH_TREE_IN(tree(X, void, Right)) → SEARCH_TREE_IN(Right)
SEARCH_TREE_IN(tree(X, Left, Right)) → U61(X, Right, search_tree_in(Left))
SEARCH_TREE_IN(tree(X, Left, Right)) → SEARCH_TREE_IN(Left)
U61(X, Right, search_tree_out(Min1, Max1)) → U71(X, Right, Min1, less_in(Max1, X))
search_tree_in(tree(X, Left, Right)) → U6(X, Right, search_tree_in(Left))
search_tree_in(tree(X, Left, void)) → U4(X, search_tree_in(Left))
search_tree_in(tree(X, void, Right)) → U2(X, search_tree_in(Right))
search_tree_in(tree(X, void, void)) → search_tree_out(X, X)
less_in(s(X), s(Y)) → U10(less_in(X, Y))
less_in(0, s(X)) → less_out
U6(X, Right, search_tree_out(Min1, Max1)) → U7(X, Right, Min1, less_in(Max1, X))
U4(X, search_tree_out(Min, Max)) → U5(X, Min, less_in(Max, X))
U2(X, search_tree_out(Min, Max)) → U3(X, Max, less_in(X, Min))
U10(less_out) → less_out
U7(X, Right, Min1, less_out) → U8(X, Min1, search_tree_in(Right))
U5(X, Min, less_out) → search_tree_out(Min, X)
U3(X, Max, less_out) → search_tree_out(X, Max)
U8(X, Min1, search_tree_out(Min2, Max2)) → U9(Min1, Max2, less_in(X, Min2))
U9(Min1, Max2, less_out) → search_tree_out(Min1, Max2)
search_tree_in(x0)
less_in(x0, x1)
U6(x0, x1, x2)
U4(x0, x1)
U2(x0, x1)
U10(x0)
U7(x0, x1, x2, x3)
U5(x0, x1, x2)
U3(x0, x1, x2)
U8(x0, x1, x2)
U9(x0, x1, x2)
From the DPs we obtained the following set of size-change graphs: